package com.xm.settlement.commons.base;

public class ApiResult<T> {

	//@Value("#{msgProperties}")
	//private Properties msgProperties;

	private String code;

	private String msg;

	private T data;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public String getMsg() {
	//	if(StringUtils.isEmpty( msg )){
			return msg;
	//	}
	//	return msgProperties.getProperty(code);
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
